#include <stdio.h>

int main()
{

	double r = 0.0f;
	scanf_s("%lf",&r);
	double v = 4.0 / 3 * 3.1415926 * r * r * r;
	printf("%.3lf\n",v);


	return 0;
}